<!-- 进入app会进入的主页面，判断用户是否登录，如果登录直接跳转记账页面，未登录跳转 dogtry 介绍页面 -->
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
  loginYesNo()

function loginYesNo(){
let token=window.localStorage.token
if(!token){
    window.location.href="./public/indextry.html"
}
else{
    window.location.href="./public/firstPage.html"
}
}
</script>
</html>
